package com.eastfair.imaster.dto;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.eastfair.core.base.entity.Entity;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;
import com.eastfair.core.base.entity.SuperEntity;
import lombok.Data;
import lombok.Builder;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.AllArgsConstructor;
import lombok.ToString;
import lombok.experimental.Accessors;
import java.io.Serializable;

/**
 * <p>
 * 实体类
 * 嘉宾
 * </p>
 *
 * @author zjn
 * @since 2021-11-15
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@Accessors(chain = true)
@ToString(callSuper = true)
@EqualsAndHashCode(callSuper = false)
@Builder
@ApiModel(value = "SpeakerUpdateDTO", description = "嘉宾")
public class SpeakerUpdateDTO implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键")
    @NotNull(message = "请填写主键", groups = SuperEntity.Update.class)
    private Long id;

    /**
     * 项目id
     */
    @ApiModelProperty(value = "项目id")
    private Long projectId;
    /**
     * 嘉宾名称
     */
    @ApiModelProperty(value = "嘉宾名称")
    @Size(max = 32, message = "嘉宾名称长度不能超过32")
    private String name;
    /**
     * 嘉宾英文名称
     */
    @ApiModelProperty(value = "嘉宾英文名称")
    @Size(max = 32, message = "嘉宾英文名称长度不能超过32")
    private String enName;
    /**
     * 公司名称
     */
    @ApiModelProperty(value = "公司名称")
    @Size(max = 64, message = "公司名称长度不能超过64")
    private String companyName;
    /**
     * 公司英文名称
     */
    @ApiModelProperty(value = "公司英文名称")
    @Size(max = 64, message = "公司英文名称长度不能超过64")
    private String companyEnName;
    /**
     * 介绍
     */
    @ApiModelProperty(value = "介绍")
    @Size(max = 65535, message = "介绍长度不能超过65,535")
    private String introduce;
    /**
     * 英文介绍
     */
    @ApiModelProperty(value = "英文介绍")
    @Size(max = 65535, message = "英文介绍长度不能超过65,535")
    private String enIntroduce;
    /**
     * 头像
     */
    @ApiModelProperty(value = "头像")
    @Size(max = 255, message = "头像长度不能超过255")
    private String headImageUrl;
    /**
     * 是否启用：1是；0否
     */
    @ApiModelProperty(value = "是否启用：1是；0否")
    private Integer isEnabled;
    /**
     * 是否删除：1是；0否
     */
    @ApiModelProperty(value = "是否删除：1是；0否")
    private Integer isDeleted;
}
